<template>
  <!-- <div class="page"> -->
  <!-- <c-title text="领取记录"></c-title>
    <div class="groupList">
      <div class="groupItem" style="width:100%;display: flex;justify-content: space-between;" v-for="item in listData" :key="item.id">
          <div>{{ item.money }}</div>
          <div>{{ timestampToDateTime(item.time) }}</div>
      </div>
    </div> -->
  <div class="flex-col justify-start relative page">
    <span class="font text pos_5">红包记录</span>
    <img class="image_5 pos_8" src="https://shops.cg500.com/static/17091905577890262847.png" />
    <img class="image_6 pos_10" src="https://shops.cg500.com/static/17091905577887915278.png" />
    <div class="text_2 pos_9 bbb">
      <div>
        <div class="text_2">{{ hongbao_money?hongbao_money:'0' }}</div>
        <span class="text_4 ">领取总金额</span>
      </div>
      <div>
        <div class="text_2">{{ pool?pool:'0' }}</div>
        <span class="text_4 ">红包池</span>
      </div>
      <img class="image_6 pos_11" src="https://shops.cg500.com/static/17091905577887915278.png" />

    </div>
    <div class="flex-col section_4 pos_14">
      <span class="self-start text_5">领取记录</span>
      <div class="flex-col self-stretch list mt-15">
        <div class="flex-row justify-between items-center list-item mt-23" v-for="item in listData" :key="item.id">
          <div class="flex-row items-center">
            <img class="image_7" :src="item.avatar" />
            <div class="flex-col items-start ml-8-5">
              <span class="font_2">{{ item.nickname }}</span>
              <span class="font_3 mt-11-5">{{ timestampToDateTime(item.time) }}</span>
            </div>
          </div>
          <span class="font">+{{ item.money }}</span>
        </div>
      </div>
    </div>
  </div>

  <!-- <van-popup v-model="datetimePopup" position="bottom">
        <van-datetime-picker v-model="currentDate" type="date" @confirm="confirmTime" />
      </van-popup>

      <van-popup v-model="filterPopup" position="bottom" closeable round @close="closeFilterPop">
        <filterPopup ref="filterPopup" v-on:confirm="confirmFilter"></filterPopup>
      </van-popup> -->
  <!-- </div> -->
</template>

<script>
import hongbaoRecordController from "./hongbao_record_controller";

export default hongbaoRecordController;
</script>

<style lang="scss" rel="stylesheet/scss" scoped>
/************************************************************
** 请将全局样式拷贝到项目的全局 CSS 文件或者当前页面的顶部 **
** 否则页面将无法正常显示                                  **
************************************************************/

html {
  font-size: 16px;
}

body {
  margin: 0;
  background-image: linear-gradient(0deg, #fcb29e 0%, #fb3542 100%);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans',
    'Droid Sans', 'Helvetica Neue', 'Microsoft Yahei', sans-serif;
}

body * {
  box-sizing: border-box;
  flex-shrink: 0;
}

#app {
  width: 100vw;
  height: 100vh;
}

.flex-row {
  display: flex;
  flex-direction: row;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.justify-start {
  justify-content: flex-start;
}

.justify-end {
  justify-content: flex-end;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-around {
  justify-content: space-around;
}

.justify-evenly {
  justify-content: space-evenly;
}

.items-start {
  align-items: flex-start;
}

.items-end {
  align-items: flex-end;
}

.items-center {
  align-items: center;
}

.items-baseline {
  align-items: baseline;
}

.items-stretch {
  align-items: stretch;
}

.self-start {
  align-self: flex-start;
}

.self-end {
  align-self: flex-end;
}

.self-center {
  align-self: center;
}

.self-baseline {
  align-self: baseline;
}

.self-stretch {
  align-self: stretch;
}

.flex-1 {
  flex: 1 1 0%;
}

.flex-auto {
  flex: 1 1 auto;
}

.grow {
  flex-grow: 1;
}

.grow-0 {
  flex-grow: 0;
}

.shrink {
  flex-shrink: 1;
}

.shrink-0 {
  flex-shrink: 0;
}

.relative {
  position: relative;
}

.bbb {
  width: 100%;
  height: 103px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px;
}

.ml-2 {
  margin-left: 0.13rem;
}

.mt-2 {
  margin-top: 0.13rem;
}

.ml-4 {
  margin-left: 0.25rem;
}

.mt-4 {
  margin-top: 0.25rem;
}

.ml-6 {
  margin-left: 0.38rem;
}

.mt-6 {
  margin-top: 0.38rem;
}

.ml-8 {
  margin-left: 0.5rem;
}

.mt-8 {
  margin-top: 0.5rem;
}

.ml-10 {
  margin-left: 0.63rem;
}

.mt-10 {
  margin-top: 0.63rem;
}

.ml-12 {
  margin-left: 0.75rem;
}

.mt-12 {
  margin-top: 0.75rem;
}

.ml-14 {
  margin-left: 0.88rem;
}

.mt-14 {
  margin-top: 0.88rem;
}

.ml-16 {
  margin-left: 1rem;
}

.mt-16 {
  margin-top: 1rem;
}

.ml-18 {
  margin-left: 1.13rem;
}

.mt-18 {
  margin-top: 1.13rem;
}

.ml-20 {
  margin-left: 1.25rem;
}

.mt-20 {
  margin-top: 1.25rem;
}

.ml-22 {
  margin-left: 1.38rem;
}

.mt-22 {
  margin-top: 1.38rem;
}

.ml-24 {
  margin-left: 1.5rem;
}

.mt-24 {
  margin-top: 1.5rem;
}

.ml-26 {
  margin-left: 1.63rem;
}

.mt-26 {
  margin-top: 1.63rem;
}

.ml-28 {
  margin-left: 1.75rem;
}

.mt-28 {
  margin-top: 1.75rem;
}

.ml-30 {
  margin-left: 1.88rem;
}

.mt-30 {
  margin-top: 1.88rem;
}

.ml-32 {
  margin-left: 2rem;
}

.mt-32 {
  margin-top: 2rem;
}

.ml-34 {
  margin-left: 2.13rem;
}

.mt-34 {
  margin-top: 2.13rem;
}

.ml-36 {
  margin-left: 2.25rem;
}

.mt-36 {
  margin-top: 2.25rem;
}

.ml-38 {
  margin-left: 2.38rem;
}

.mt-38 {
  margin-top: 2.38rem;
}

.ml-40 {
  margin-left: 2.5rem;
}

.mt-40 {
  margin-top: 2.5rem;
}

.ml-42 {
  margin-left: 2.63rem;
}

.mt-42 {
  margin-top: 2.63rem;
}

.ml-44 {
  margin-left: 2.75rem;
}

.mt-44 {
  margin-top: 2.75rem;
}

.ml-46 {
  margin-left: 2.88rem;
}

.mt-46 {
  margin-top: 2.88rem;
}

.ml-48 {
  margin-left: 3rem;
}

.mt-48 {
  margin-top: 3rem;
}

.ml-50 {
  margin-left: 3.13rem;
}

.mt-50 {
  margin-top: 3.13rem;
}

.ml-52 {
  margin-left: 3.25rem;
}

.mt-52 {
  margin-top: 3.25rem;
}

.ml-54 {
  margin-left: 3.38rem;
}

.mt-54 {
  margin-top: 3.38rem;
}

.ml-56 {
  margin-left: 3.5rem;
}

.mt-56 {
  margin-top: 3.5rem;
}

.ml-58 {
  margin-left: 3.63rem;
}

.mt-58 {
  margin-top: 3.63rem;
}

.ml-60 {
  margin-left: 3.75rem;
}

.mt-60 {
  margin-top: 3.75rem;
}

.ml-62 {
  margin-left: 3.88rem;
}

.mt-62 {
  margin-top: 3.88rem;
}

.ml-64 {
  margin-left: 4rem;
}

.mt-64 {
  margin-top: 4rem;
}

.ml-66 {
  margin-left: 4.13rem;
}

.mt-66 {
  margin-top: 4.13rem;
}

.ml-68 {
  margin-left: 4.25rem;
}

.mt-68 {
  margin-top: 4.25rem;
}

.ml-70 {
  margin-left: 4.38rem;
}

.mt-70 {
  margin-top: 4.38rem;
}

.ml-72 {
  margin-left: 4.5rem;
}

.mt-72 {
  margin-top: 4.5rem;
}

.ml-74 {
  margin-left: 4.63rem;
}

.mt-74 {
  margin-top: 4.63rem;
}

.ml-76 {
  margin-left: 4.75rem;
}

.mt-76 {
  margin-top: 4.75rem;
}

.ml-78 {
  margin-left: 4.88rem;
}

.mt-78 {
  margin-top: 4.88rem;
}

.ml-80 {
  margin-left: 5rem;
}

.mt-80 {
  margin-top: 5rem;
}

.ml-82 {
  margin-left: 5.13rem;
}

.mt-82 {
  margin-top: 5.13rem;
}

.ml-84 {
  margin-left: 5.25rem;
}

.mt-84 {
  margin-top: 5.25rem;
}

.ml-86 {
  margin-left: 5.38rem;
}

.mt-86 {
  margin-top: 5.38rem;
}

.ml-88 {
  margin-left: 5.5rem;
}

.mt-88 {
  margin-top: 5.5rem;
}

.ml-90 {
  margin-left: 5.63rem;
}

.mt-90 {
  margin-top: 5.63rem;
}

.ml-92 {
  margin-left: 5.75rem;
}

.mt-92 {
  margin-top: 5.75rem;
}

.ml-94 {
  margin-left: 5.88rem;
}

.mt-94 {
  margin-top: 5.88rem;
}

.ml-96 {
  margin-left: 6rem;
}

.mt-96 {
  margin-top: 6rem;
}

.ml-98 {
  margin-left: 6.13rem;
}

.mt-98 {
  margin-top: 6.13rem;
}

.ml-100 {
  margin-left: 6.25rem;
}

.mt-100 {
  margin-top: 6.25rem;
}

.mt-15 {
  margin-top: 0.94rem;
}

.mt-23 {
  margin-top: 1.44rem;
}

.ml-8-5 {
  margin-left: 0.53rem;
}

.mt-11-5 {
  margin-top: 0.72rem;
}

// .page {
//   background-image: linear-gradient(0deg, #fcb29e 0%, #fb3542 100%);
//   border-radius: 0rem 0.13rem 0.13rem 0.13rem;
//   width: 100%;
//   overflow-y: auto;
//   overflow-x: hidden;
//   height: 100%;
// }

.section {
  background-image: linear-gradient(0deg, #fcb29e 0%, #fb3542 100%);
  border-radius: 0rem 0.13rem 0.13rem 0.13rem;
  width: 23.44rem;
  // height: 50.75rem;
}

.image {
  width: 20.47rem;
  height: 0.75rem;
}

.pos {
  position: absolute;
  right: 0.91rem;
  top: 0.94rem;
}

.image_2 {
  width: 0.63rem;
  height: 1.09rem;
}

.pos_4 {
  position: absolute;
  left: 0.94rem;
  top: 3.31rem;
}

.font {
  font-size: 1.13rem;
  font-family: PingFang SC;
  line-height: 0.88rem;
  font-weight: 700;
  color: #e73328;
}

.text {
  color: #ffffff;
  line-height: 1.09rem;
}

.pos_5 {
  position: absolute;
  left: 50%;
  top: 3.31rem;
  transform: translateX(-50%);
}

.section_2 {
  opacity: 0.2;
  background-color: #ffffff;
  border-radius: 1rem;
  width: 5.44rem;
  height: 2.03rem;
  border-left: solid 0.031rem #ffffff;
  border-right: solid 0.031rem #ffffff;
  border-top: solid 0.031rem #ffffff;
  border-bottom: solid 0.031rem #ffffff;
}

.pos_2 {
  position: absolute;
  right: 0.47rem;
  top: 2.84rem;
}

.image_4 {
  width: 1.16rem;
  height: 0.44rem;
}

.pos_7 {
  position: absolute;
  right: 3.91rem;
  top: 3.63rem;
}

.image_3 {
  width: 1.06rem;
  height: 1.09rem;
}

.pos_6 {
  position: absolute;
  right: 1.31rem;
  top: 3.31rem;
}

.section_3 {
  background-color: #cccccc4d;
  width: 0.031rem;
  height: 1.19rem;
}

.pos_3 {
  position: absolute;
  right: 3.16rem;
  top: 3.25rem;
}

.image_5 {
  width: 1.94rem;
  height: 1.94rem;
}

.pos_8 {
  position: absolute;
  left: 2.81rem;
  top: 5.84rem;
}

.image_6 {
  width: 1.09rem;
  height: 1.09rem;
}

.pos_10 {
  position: absolute;
  left: 3.44rem;
  top: 8.38rem;
}

.text_2 {
  color: #ffffff;
  font-size: 2rem;
  font-family: PingFang SC;
  font-weight: 700;
  line-height: 1.6rem;
}

.pos_9 {
  position: absolute;
  // left: 7rem;
  top: 6rem;
}

.text_3 {
  color: #ffffff;
  font-size: 1rem;
  font-family: PingFang SC;
  font-weight: 500;
  line-height: 0.91rem;
  letter-spacing: 0.05rem;
}

.pos_12 {
  position: absolute;
  right: 7.13rem;
  top: 9.28rem;
}

.pos_11 {
  position: absolute;
  right: 2.81rem;
  top: 9rem;
}

.text_4 {
  color: #ffffff;
  font-size: 0.81rem;
  font-family: PingFang SC;
  line-height: 0.78rem;
}

.pos_13 {
  position: absolute;
  left: 50%;
  top: 11.38rem;
  transform: translateX(-50%);
}

.section_4 {
  padding: 1.22rem 0.88rem 6.13rem;
  background-color: #ffffff;
  border-radius: 0.75rem;
}

.pos_14 {
  position: absolute;
  left: 0.94rem;
  right: 0.94rem;
  top: 13.06rem;
}

.text_5 {
  color: #151515;
  font-size: 1rem;
  font-family: PingFang SC;
  line-height: 0.97rem;
}

.list {
  padding: 0 0.25rem;
}

.list-item:first-child {
  margin-top: 0;
}

.image_7 {
  width: 3.38rem;
  height: 3.38rem;
  border-radius: 30px;
}

.font_2 {
  font-size: 0.88rem;
  font-family: PingFang SC;
  line-height: 0.81rem;
  font-weight: 500;
  color: #151515;
}

.font_3 {
  font-size: 0.88rem;
  font-family: PingFang SC;
  line-height: 0.69rem;
  color: #999999;
}

page {
  background: red;
  height: 200vh;
}

.page {
  min-height: 30vh;
  background-image: linear-gradient(0deg, #fcb29e 0%, #fb3542 48%);
  border-radius: 0rem 0.13rem 0.13rem 0.13rem;
  width: 100%;

  ::v-deep .van-sticky--fixed {
    background: url(https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/group_develop_user_index_bg.png);
    background-position: top left;
    background-size: cover;
  }
}

.header {
  width: 100%;
  height: 17.188rem;
  padding: 0 0.938rem;
  background: url(https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/group_develop_user_index_bg.png);
  background-size: cover;


}

.groupList {
  padding: 0 0.938rem;
  padding-bottom: 1rem;

  .groupItem {
    margin-top: 1rem;
    background: #fff;
    //   padding: 20px 0;
    height: 100px;
  }
}
</style>
